binary tree check if all leaf nodes are at same level